type InfoType = {
  name: string;
  age: number;
};

//写法1
const info: {
  name: string;
  age: number;
} = {
  name: "zhuhaoran",
  age: 18,
};

//写法2
// const info: InfoType = {
//   name: "zhuhaoran",
//   age: 18,
// };

//下面写法不要这样写
// const info: Object = {
//     name: "zhuhaoran",
//     age: 18,
// };

export {};
